package com.cj.flowabletest.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author cc
 * @date 2025-03-04 08:42
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TaskVo {

    private Integer days;
    private String reason;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date endTime;
    private String approveUser;


    private String taskId;

    /**
     * 任务是否通过
     */
    private Boolean approval;

    /**
     * 申请人
     */
    private String applicant;
}
